package com.reins.bookstore.object;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
public class OneBookOrder {
    private Integer userId;
    private Integer bookId;
    private Integer bookNum;
    private BigDecimal price;
    public OneBookOrder(){}
    public OneBookOrder(Integer userId,Integer bookId,Integer bookNum, BigDecimal price)
    {
        this.userId = userId;
        this.bookId = bookId;
        this.bookNum = bookNum;
        this.price = price;
    }

    public Integer getBookId() {
        return bookId;
    }

    public Integer getBookNum() {
        return bookNum;
    }

    public Integer getUserId() {
        return userId;
    }

    public BigDecimal getPrice() {
        return price;
    }
}
